from django.urls import path
from . import views

app_name = 'blog'

urlpatterns = [
    path('', views.index, name='index'),
    path('blogs/<int:page_id>/', views.articles, name='articles'),
    path('blogs/detail/<int:blog_id>/', views.detail, name='detail'),
    path('blogs/pub/', views.blog_pub, name='blog_pub'),
    path('blogs/comment/pub/', views.pub_comment, name='pub_comment'),
    path('search', views.search, name='search'),
]